﻿namespace InternetBankService.Model
{
    using System.Collections.Generic;

    using InternetBankService.Data;
    using HelpersAndContracts.Contracts;

    public interface IRepository
    {
        Client GetClientByUsername(string username);

        void AddPayment(PaymentOnHold paymentOnHold);

        IEnumerable<Payment> GetUserPayments(string username);

        ClientModel AddClient(ClientModel client);

        bool PaymentExist(PaymentModel payment);
    }
}
